try{
	Type.registerNamespace('WhsTransVO');
	//转库单
	WhsTransVO = function(){};
	WhsTransVO.prototype = new NCMMPubUtil.SuperVO();
	//转库单主键
	WhsTransVO.CSPECIALHID={
		name:"cspecialhid", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//集团编码
	WhsTransVO.PK_GROUP_CODE={
		name:"pk_group_code", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//库存组织
	WhsTransVO.PK_ORG={
		name:"pk_org", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//单据号
	WhsTransVO.VBILLCODE={
		name:"vbillcode", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//头时间戳
	WhsTransVO.HTS={
		name:"hts", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};	
	//单据日期
	WhsTransVO.DBILLDATE={
		name:"dbilldate", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//出库仓库
	WhsTransVO.CWAREHOUSEID={
		name:"cwarehouseid", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	WhsTransVO.CWAREHOUSEID_NAME={
		name:"cwarehouseid_name", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//入库仓库
	WhsTransVO.COTHERWHID={
		name:"cotherwhid", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	WhsTransVO.COTHERWHID_NAME={
		name:"cotherwhid_name", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//子表
	//行号
	WhsTransVO.CROWNO={
		name:"crowno", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//转库单子表主键
	WhsTransVO.CSPECIALBID={
		name:"cspecialbid", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//物料
	WhsTransVO.CMATERIALVID={
		name:"cmaterialvid", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//物料编码
	WhsTransVO.CMATERIALVID_CODE={
		name:"cmaterialvid_code", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//物料名称
	WhsTransVO.CMATERIALVID_NAME={
		name:"cmaterialvid_name", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//规格
	WhsTransVO.MATERIALSPEC={
		name:"materialspec", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//型号
	WhsTransVO.MATERIALTYPE={
		name:"materialtype", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//简称
	WhsTransVO.MATERIALSHORTNAME={
		name:"materialshortname", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//主单位
	WhsTransVO.CUNITID={
		name:"cunitid", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};	
	WhsTransVO.CUNITID_NAME={
		name:"cunitid_name", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//辅单位
	WhsTransVO.CASTUNITID={
		name:"castunitid", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};	
	WhsTransVO.CASTUNITID_NAME={
		name:"castunitid_name", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//换算率
	WhsTransVO.VCHANGERATE={
		name:"vchangerate", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//主数量
	WhsTransVO.NNUM={
		name:"nnum", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//数量
	WhsTransVO.NASTNUM={
		name:"nastnum", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//批次
	WhsTransVO.VBATCHCODE={
		name:"vbatchcode", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	WhsTransVO.PK_BATCHCODE={
		name:"pk_batchcode", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//货位
	WhsTransVO.CLOCATIONID={
		name:"clocationid", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	WhsTransVO.CLOCATIONID_NAME={
		name:"clocationid_name", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//累计扫描数量
	WhsTransVO.NSCANEDNUM={
	    name:"nscanednum", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	WhsTransVO.NSCANEDASTNUM={
	    name:"nscanedastnum", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//表体时间戳
	WhsTransVO.BTS={
		name:"bts", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	WhsTransVO.prototype.getAllAttrs = function(){
		return [WhsTransVO.CSPECIALHID,
	WhsTransVO.PK_GROUP_CODE,
	WhsTransVO.PK_ORG,
	WhsTransVO.VBILLCODE,
	WhsTransVO.HTS,
	WhsTransVO.DBILLDATE,
	WhsTransVO.CWAREHOUSEID,
	WhsTransVO.CWAREHOUSEID_NAME,
	WhsTransVO.COTHERWHID,
	WhsTransVO.COTHERWHID_NAME,
	WhsTransVO.CROWNO,
	WhsTransVO.BTS,
	WhsTransVO.CSPECIALBID,
	WhsTransVO.CMATERIALVID,
	WhsTransVO.CMATERIALVID_CODE,
	WhsTransVO.CMATERIALVID_NAME,
	WhsTransVO.MATERIALSPEC,
	WhsTransVO.MATERIALTYPE,
	WhsTransVO.MATERIALSHORTNAME,
	WhsTransVO.CUNITID,
	WhsTransVO.CUNITID_NAME,
	WhsTransVO.CASTUNITID,
	WhsTransVO.CASTUNITID_NAME,
	WhsTransVO.VCHANGERATE,
	WhsTransVO.NNUM,
	WhsTransVO.NASTNUM,
	WhsTransVO.VBATCHCODE,
	WhsTransVO.PK_BATCHCODE,
	WhsTransVO.CLOCATIONID,
	WhsTransVO.CLOCATIONID_NAME,
	WhsTransVO.NSCANEDNUM,
	WhsTransVO.NSCANEDASTNUM]};
	WhsTransVO.prototype.getTableName = function(){
		return "ic_whstrans";
	};
	WhsTransVO.prototype.getPrimaryAttr = function(){
		return WhsTransVO.CSPECIALBID;
	};
}catch(e){$e(e);}